*File: div_gov_addl_graphics_ssh.do
*Purpose: Create additional graphics for paper


*Graphics

cap cd "~/div_gov"

use "data/congress_data.dta", clear
set scheme tufte
 
tsset year

twoway (scatter pub_acts year), ///
	ytitle(Number of Public Acts) xtitle(Year)
graph export "figs_ssh/fig2a.pdf", replace

twoway (scatter sigact_n year), ///
	ytitle(Number of Significant Acts) xtitle(Year)
graph export "figs_ssh/fig2b.pdf", replace

gen pct_sig = sigact_n / pub_acts
label var pct_sig "Percent of Acts that are Significant"
twoway (scatter pct_sig year), ///
	ytitle(Percent of Public Acts that are Significant) xtitle(Year)
graph export "figs_ssh/fig2c.pdf", replace
